<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
	<title>listvideo</title>
  <link rel="stylesheet" href="./assets/css/bootstrap.min.css">
</head>
<?php
$row=$data['video'];
?>
<body>
<h6><a href="index.php?c=index&m=index">返回前一页 </a><h6>
<div class="col-md-12" >
<table class="table table-hover" >
	<tr>
		
		<th>视频名称</th>
		<th>类型</th>
		<th>添加时间</th>
		<th>海报</th>
    
		</tr>	
      
      
      	<td><?php echo $row['videoname'];?></td>
      	

      	<td><?php 
          switch ($row['typename'])
{     case '1': echo "电影 ";
      break;
      case '2': echo  "电视剧";
      break;
      case '3': echo "话剧";
      break;
      case '4': echo "音乐剧";
      break;
        default :
          echo "未选择类型";
          break;
}?>
  <td><?php echo $row['intro'];?></td>
        

      	<td><img  src="./poster/<?php  echo  $row['pic'];?>" width="80" height="80" alt="海报" "></td>
      	
      </tr>
  
</table>

</div>
</body>
</html>